\documentclass[cn,11pt,chinese]{elegantbook}

\title{Rust编程指南}
\subtitle{Rust高性能}

\author{bleedingfight}
\institute{bleedingfight}
\date{\today}
\version{4.0.1}
\bioinfo{自定义}{信息}

\extrainfo{温柔正确的人总是难以生存，因为这世界既不温柔，也不正确。—— 比企谷八幡}
\setcounter{tocdepth}{3}
\newcommand{\dollar}{\mbox{\textdollar}}
\lstset{
  mathescape = false}
\logo{logo-blue.png}
\cover{cover.jpg}

% 本文档命令
\usepackage{array}
\newcommand{\ccr}[1]{\makecell{{\color{#1}\rule{1cm}{1cm}}}}

\begin{document}

\maketitle
\frontmatter

\chapter*{特别声明}
\markboth{Introduction}{前言}
\href{https://kaisery.github.io/trpl-zh-cn/title-page.html}{Rust官方文档的中文修订版}，修改了部分翻译僵硬的文字。
\vskip 1.5cm

\begin{flushright}
	bleedingfight\\
	\today
\end{flushright}

\tableofcontents
\listoflistings
%\listofchanges

\mainmatter
\input{contents/basic}
\input{contents/basic_concept}
\input{contents/ownership}
\input{contents/struction}
\input{contents/match}
\input{contents/collection}
\input{contents/package}
\input{contents/generics}
\input{contents/panic}
\input{contents/test}
\input{contents/closure}
\input{contents/concurrent}
\input{contents/smart_ptr}
\input{contents/oop}
\input{contents/pattern}
\input{contents/advance_feature}
\input{contents/webserver}
\chapter{Rust标准库}
\input{contents/std_option}
\input{contents/std_result}
\input{contents/question}
\input{contents/module_basic}
\input{contents/practice}
\chapter{Rust三方库}
\input{contents/actix}
\input{contents/appendix}
\input{contents/keywords}
\end{document}
